/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package it.apuliait.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author Donatello
 * @generated
 */
public class TerzoIntermediarioSoap implements Serializable {
	public static TerzoIntermediarioSoap toSoapModel(TerzoIntermediario model) {
		TerzoIntermediarioSoap soapModel = new TerzoIntermediarioSoap();

		soapModel.setIntermediarioId(model.getIntermediarioId());
		soapModel.setIdPaeseIntermediario(model.getIdPaeseIntermediario());
		soapModel.setIdCodiceIntermediario(model.getIdCodiceIntermediario());
		soapModel.setCodiceFiscaleIntermediario(model.getCodiceFiscaleIntermediario());
		soapModel.setDenominazioneIntermediario(model.getDenominazioneIntermediario());
		soapModel.setNomeIntermediario(model.getNomeIntermediario());
		soapModel.setCognomeIntermediario(model.getCognomeIntermediario());
		soapModel.setTitoloIntermediario(model.getTitoloIntermediario());
		soapModel.setCodEoriIntermediario(model.getCodEoriIntermediario());

		return soapModel;
	}

	public static TerzoIntermediarioSoap[] toSoapModels(
		TerzoIntermediario[] models) {
		TerzoIntermediarioSoap[] soapModels = new TerzoIntermediarioSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static TerzoIntermediarioSoap[][] toSoapModels(
		TerzoIntermediario[][] models) {
		TerzoIntermediarioSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new TerzoIntermediarioSoap[models.length][models[0].length];
		}
		else {
			soapModels = new TerzoIntermediarioSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static TerzoIntermediarioSoap[] toSoapModels(
		List<TerzoIntermediario> models) {
		List<TerzoIntermediarioSoap> soapModels = new ArrayList<TerzoIntermediarioSoap>(models.size());

		for (TerzoIntermediario model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new TerzoIntermediarioSoap[soapModels.size()]);
	}

	public TerzoIntermediarioSoap() {
	}

	public long getPrimaryKey() {
		return _intermediarioId;
	}

	public void setPrimaryKey(long pk) {
		setIntermediarioId(pk);
	}

	public long getIntermediarioId() {
		return _intermediarioId;
	}

	public void setIntermediarioId(long intermediarioId) {
		_intermediarioId = intermediarioId;
	}

	public String getIdPaeseIntermediario() {
		return _idPaeseIntermediario;
	}

	public void setIdPaeseIntermediario(String idPaeseIntermediario) {
		_idPaeseIntermediario = idPaeseIntermediario;
	}

	public String getIdCodiceIntermediario() {
		return _idCodiceIntermediario;
	}

	public void setIdCodiceIntermediario(String idCodiceIntermediario) {
		_idCodiceIntermediario = idCodiceIntermediario;
	}

	public String getCodiceFiscaleIntermediario() {
		return _codiceFiscaleIntermediario;
	}

	public void setCodiceFiscaleIntermediario(String codiceFiscaleIntermediario) {
		_codiceFiscaleIntermediario = codiceFiscaleIntermediario;
	}

	public String getDenominazioneIntermediario() {
		return _denominazioneIntermediario;
	}

	public void setDenominazioneIntermediario(String denominazioneIntermediario) {
		_denominazioneIntermediario = denominazioneIntermediario;
	}

	public String getNomeIntermediario() {
		return _nomeIntermediario;
	}

	public void setNomeIntermediario(String nomeIntermediario) {
		_nomeIntermediario = nomeIntermediario;
	}

	public String getCognomeIntermediario() {
		return _cognomeIntermediario;
	}

	public void setCognomeIntermediario(String cognomeIntermediario) {
		_cognomeIntermediario = cognomeIntermediario;
	}

	public String getTitoloIntermediario() {
		return _titoloIntermediario;
	}

	public void setTitoloIntermediario(String titoloIntermediario) {
		_titoloIntermediario = titoloIntermediario;
	}

	public String getCodEoriIntermediario() {
		return _codEoriIntermediario;
	}

	public void setCodEoriIntermediario(String codEoriIntermediario) {
		_codEoriIntermediario = codEoriIntermediario;
	}

	private long _intermediarioId;
	private String _idPaeseIntermediario;
	private String _idCodiceIntermediario;
	private String _codiceFiscaleIntermediario;
	private String _denominazioneIntermediario;
	private String _nomeIntermediario;
	private String _cognomeIntermediario;
	private String _titoloIntermediario;
	private String _codEoriIntermediario;
}